package cn.jiyun;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @Autowired
    private UserController userController;

    @Autowired
    private  Quan pojo;

    @Autowired
    private  Q2 q2;

    @RequestMapping("ho")
    public String ho(){
        return "666";
    }

    @RequestMapping("hx")
    public String hx(){
        return "个好觉";
    }

    @RequestMapping("hh")
    public String hh(){
        return pojo.toString();
    }
    @RequestMapping("hc")
    public String hc(){
        return q2.toString();
    }

}
